namespace FieldServices_01.intrnl
{
    public class MboWorkitemsMetaData
        : Sybase.Reflection.EntityMetaData
    {
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public MboWorkitemsMetaData()
        {
            _init();
        }
        
        protected void _init()
        {
            SetId(10);
            SetAttributes(new Sybase.Reflection.AttributeMetaDataList());
            SetOperations(new Sybase.Reflection.OperationMetaDataList());
            SetAttributeMap(new Sybase.Reflection.AttributeMap());
            SetOperationMap(new Sybase.Reflection.OperationMap());
            Sybase.Reflection.AttributeMetaData ORDERID_attribute = AddAttributeWithParams(124, "ORDERID", "string", 12, false, false, false, false, false, false, "\"a\"");
            Sybase.Reflection.AttributeMetaData ORDER_TYPE_attribute = AddAttributeWithParams(125, "ORDER_TYPE", "string", 4, false, false, false, false, false, false, "\"b\"");
            Sybase.Reflection.AttributeMetaData PARTNER_attribute = AddAttributeWithParams(126, "PARTNER", "string", 12, false, false, false, false, false, false, "\"c\"");
            Sybase.Reflection.AttributeMetaData NAME_attribute = AddAttributeWithParams(127, "NAME", "string", 35, false, false, false, false, false, false, "\"d\"");
            Sybase.Reflection.AttributeMetaData SYSTEM_STATUS_attribute = AddAttributeWithParams(128, "SYSTEM_STATUS", "string", 40, false, false, false, false, false, false, "\"e\"");
            Sybase.Reflection.AttributeMetaData STREET_attribute = AddAttributeWithParams(129, "STREET", "string", 35, false, false, false, false, false, false, "\"f\"");
            Sybase.Reflection.AttributeMetaData POSTL_CODE_attribute = AddAttributeWithParams(130, "POSTL_CODE", "string", 10, false, false, false, false, false, false, "\"g\"");
            Sybase.Reflection.AttributeMetaData CITY_attribute = AddAttributeWithParams(131, "CITY", "string", 35, false, false, false, false, false, false, "\"h\"");
            Sybase.Reflection.AttributeMetaData COUNTRY_attribute = AddAttributeWithParams(132, "COUNTRY", "string", 3, false, false, false, false, false, false, "\"i\"");
            Sybase.Reflection.AttributeMetaData TELEPHONE_attribute = AddAttributeWithParams(133, "TELEPHONE", "string", 16, false, false, false, false, false, false, "\"j\"");
            Sybase.Reflection.AttributeMetaData TELEPHONE2_attribute = AddAttributeWithParams(134, "TELEPHONE2", "string", 16, false, false, false, false, false, false, "\"l\"");
            Sybase.Reflection.AttributeMetaData DESCRIPTION_attribute = AddAttributeWithParams(135, "DESCRIPTION", "string", 40, false, false, false, false, false, false, "\"m\"");
            Sybase.Reflection.AttributeMetaData SALES_ORD_attribute = AddAttributeWithParams(136, "SALES_ORD", "string", 10, false, false, false, false, false, false, "\"n\"");
            Sybase.Reflection.AttributeMetaData EQUIPMENT_attribute = AddAttributeWithParams(137, "EQUIPMENT", "string", 60, false, false, false, false, false, false, "\"o\"");
            Sybase.Reflection.AttributeMetaData CONTRACT_DATE_attribute = AddAttributeWithParams(138, "CONTRACT_DATE", "date?", -1, false, false, false, false, false, false, "\"p\"");
            Sybase.Reflection.AttributeMetaData NOTIF_NO_attribute = AddAttributeWithParams(139, "NOTIF_NO", "string", 12, false, false, false, false, false, false, "\"q\"");
            Sybase.Reflection.AttributeMetaData PERSNO_attribute = AddAttributeWithParams(140, "PERSNO", "string", 8, false, false, false, false, false, false, "\"r\"");
            Sybase.Reflection.AttributeMetaData pending_attribute = AddAttributeWithParams(20001, "pending", "boolean", -1, false, false, true, false, false, false, "\"pending\"");
            Sybase.Reflection.AttributeMetaData pendingChange_attribute = AddAttributeWithParams(20002, "pendingChange", "char", 1, false, false, true, false, false, false, "\"_pc\"");
            Sybase.Reflection.AttributeMetaData replayPending_attribute = AddAttributeWithParams(20005, "replayPending", "long", -1, false, false, true, false, false, false, "\"_rp\"");
            Sybase.Reflection.AttributeMetaData replayFailure_attribute = AddAttributeWithParams(20006, "replayFailure", "long", -1, false, false, true, false, false, false, "\"_rf\"");
            Sybase.Reflection.AttributeMetaData surrogateKey_attribute = AddAttributeWithParams(141, "surrogateKey", "long", -1, false, true, false, false, false, false, "\"s\"");
            Sybase.Reflection.AttributeMetaData replayCounter_attribute = AddAttributeWithParams(20004, "replayCounter", "long", -1, false, false, true, false, false, false, "\"_rc\"");
            Sybase.Reflection.AttributeMetaData disableSubmit_attribute = AddAttributeWithParams(20003, "disableSubmit", "boolean", -1, false, false, true, false, false, false, "\"_ds\"");
            InitAttributeMapFromAttributes();
            Sybase.Reflection.OperationMetaData FindAll0_operation = AddOperationWithParams(97, "findAll", "MboWorkitems*", true);
            Sybase.Reflection.OperationMetaData GetPendingObjects1_operation = AddOperationWithParams(351, "getPendingObjects", "MboWorkitems*", true);
            Sybase.Reflection.OperationMetaData GetPendingObjects2_operation = AddOperationWithParams(352, "getPendingObjects", "MboWorkitems*", true);
            AddParameterForOperation(GetPendingObjects2_operation, "pendingChange", "char");
            Sybase.Reflection.OperationMetaData GetReplayPendingObjects3_operation = AddOperationWithParams(353, "getReplayPendingObjects", "MboWorkitems*", true);
            Sybase.Reflection.OperationMetaData IsNew4_operation = AddOperationWithParams(632, "isNew", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDirty5_operation = AddOperationWithParams(633, "isDirty", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDeleted6_operation = AddOperationWithParams(634, "isDeleted", "boolean", false);
            Sybase.Reflection.OperationMetaData Refresh7_operation = AddOperationWithParams(635, "refresh", "void", false);
            Sybase.Reflection.OperationMetaData _pk8_operation = AddOperationWithParams(636, "_pk", "long?", false);
            Sybase.Reflection.OperationMetaData IsPending9_operation = AddOperationWithParams(637, "isPending", "boolean", false);
            Sybase.Reflection.OperationMetaData IsCreated10_operation = AddOperationWithParams(638, "isCreated", "boolean", false);
            Sybase.Reflection.OperationMetaData IsUpdated11_operation = AddOperationWithParams(639, "isUpdated", "boolean", false);
            Sybase.Reflection.OperationMetaData SubmitPending12_operation = AddOperationWithParams(640, "submitPending", "void", false);
            Sybase.Reflection.OperationMetaData CancelPending13_operation = AddOperationWithParams(641, "cancelPending", "void", false);
            Sybase.Reflection.OperationMetaData SubmitPendingOperations14_operation = AddOperationWithParams(642, "submitPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData CancelPendingOperations15_operation = AddOperationWithParams(643, "cancelPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData Save16_operation = AddOperationWithParams(644, "save", "void", false);
            Sybase.Reflection.OperationMetaData FindWithQuery17_operation = AddOperationWithParams(645, "findWithQuery", "MboWorkitems*", true);
            AddParameterForOperation(FindWithQuery17_operation, "query", "Sybase.Persistence.Query");
            Sybase.Reflection.OperationMetaData GetSize18_operation = AddOperationWithParams(646, "getSize", "int", true);
            AddParameterForOperation(GetSize18_operation, "query", "Sybase.Persistence.Query");
            InitOperationMapFromOperations();
            SetName("MboWorkitems");
            SetTable("\"fieldservices_01_1_0_mboworkitems\"");
            SetSynchronizationGroup("default");
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsEntity()
        {
            return true;
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsService()
        {
            return false;
        }
    }
}